﻿using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Common.Service.ServiceClient;

namespace Common.Test.Service
{
    /// <summary>
    /// Summary description for CallWebService_Test
    /// </summary>
    [TestClass]
    public class CallWebService_Test
    {
        [TestMethod]
        public void CallWebService_Success()
        {
            WebService ws = new WebService("service_url", "method_name");
            ws.Params.Add("param1", "value_1");
            ws.Params.Add("param2", "value_2");
            ws.Invoke();

            var result = ws.ResultXML;
        }
    }
}
